home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
019
/
attdump.arc
/
AT&TDUMP.BAS
next >
Wrap
BASIC Source File
|
1986-09-11
|
907b
|
29 lines
100 ' ** super high res screen dump **
105 CLS: KEY OFF: SCREEN 0: WIDTH 80
110 PRINT:PRINT"High Resolution Screen Dump"
115 PRINT:INPUT "File name: ";N$
120 '
125 ' load file
130 SCREEN 100
135 DEF SEG = &HB800
140 BLOAD N$
145 '
150 ' this is the hr dump routine
155 DEF SEG = &HB800: DEFINT A-Z
160 DIM N(4)
165 N(1)=0 : N(2)=8192 : N(3)=16384 : N(4)=24576
170 WIDTH "lpt1:",255: LPRINT CHR$(27)"@";
175 OPEN "R",1,"lpt1:": WIDTH#1,255
180 LPRINT CHR$(27);"3";CHR$(24);
185 LPRINT CHR$(27);"*";CHR$(0);CHR$(144);CHR$(1);
190 FOR C=0 TO 79
195 FOR L=100 TO 1 STEP -1
200 FOR S=4 TO 1 STEP -1
205 PRINT #1, CHR$(PEEK(N(S)+(L-1)*80+C));
210 NEXT S
215 NEXT L: LPRINT : LPRINT CHR$(27);"*";CHR$(0);CHR$(144);CHR$(1);
220 NEXT C
225 LPRINT CHR$(27);"@"
230 W$=INKEY$: IF W$="" THEN SOUND 2000,1: GOTO 230
235 SCREEN 0: END